package com.ruoyi.personnel.salary.hourly.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.common.core.domain.BaseEntity;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;
import java.sql.Timestamp;

/**
 * 查询条件
 */
@Data
public class HourlyCond extends BaseEntity {

    /**
     * 计时工资编号
     */
    @NotNull(message = "计时工资编号不能为空")
    @ApiModelProperty(value = "计时工资编号", required = true)
    private String hourlyWageId;

    /**
     * 员工编号
     */
    @ApiModelProperty(value = "员工编号")
    private String staffId;

    /**
     * 所属日期
     */
    @ApiModelProperty("所属日期")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Timestamp createTime;
}
